php forum
php mysql forum
php mysql smarty
 
Page 1 of 2 1 2 >
Topic Options
#237845 - 02/24/03 03:04 AM [6.2] Banner Ad Rotator
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Mod Name: Banner Ad Rotator 1.0<br /><br />Description: This is a simple rotation tool, which pulls banners (or content) from a private forum and feeds it randomly into a box at the top of your site, just above your menu bar. There is an option to stick a particular banner, rather than using the random rotation, in the event of something you wish to promote, like a special or a sale. <br /><br />Since this simply pulls post content... it could be used for anything... random quotes, joke of the day, etc... it simply pulls the post body... text or images. <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />Author: JoshPet of www.joshuapettit.com<br />        For discussion and bug reports go to www.threadsdev.com<br /><br />Credits: Commissioned by www.drugbuyers.com<br /><br />Demo: www.measurection.com<br /><br />Date: 2/24/03<br /><br />Working Under: 6.2<br /><br />Files Modified: ubbt.inc.php<br /><br />New Files: bannerad.php<br /><br />Database Modifications: None<br /><br />Notes: This allows you to store, add, edit or delete your banners just by adding or removing them from a forum. Simple interface.<br />


Attachments
70615-BannerAdRotator1.0.zip (44 downloads)

_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#237846 - 02/24/03 03:16 AM Re: [6.2] Banner Ad Rotator [Re: Daine]
smilesforu Offline
Junior Member

Registered: 01/31/02
Posts: 676
cool mod... can it be turned off and on?

Top
#237847 - 02/24/03 09:08 AM Re: [6.2] Banner Ad Rotator [Re: Kelly]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
If the "banner" forum is empty nothing will appear. <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#237848 - 02/24/03 07:10 PM Re: [6.2] Banner Ad Rotator [Re: Daine]
smilesforu Offline
Junior Member

Registered: 01/31/02
Posts: 676
Cool I can just move them to a hidden forum... Thanks Josh another great mod

Top
#237849 - 03/02/03 03:07 PM Re: [6.2] Banner Ad Rotator [Re: Daine]
caspe7_dup1 Offline
Power User

Registered: 04/14/02
Posts: 75
Loc: Long Beach, CA, USA
For some reason i'm getting this "Parse error: parse error in /www/prowrestlingforum.com/threads/bannerad.php on line 92"
_________________________
"We're sorta like the 7-11. We're not always doin' business, but we're always open"

Top
#237850 - 03/02/03 03:16 PM Re: [6.2] Banner Ad Rotator [Re: AgentDrek]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
I can't see why there would be a parse error there. It's in the echo of the output, and halfway through it at that. <img src="/forum/images/graemlins/tongue.gif" alt="" /><br /><br />Did you do any editing?
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#237851 - 03/02/03 03:30 PM Re: [6.2] Banner Ad Rotator [Re: Daine]
caspe7_dup1 Offline
Power User

Registered: 04/14/02
Posts: 75
Loc: Long Beach, CA, USA
Nope, i've installed it twice just to make sure that I didn't mess up the first time <br /> <br />Well i've installed mods (not part of this)
_________________________
"We're sorta like the 7-11. We're not always doin' business, but we're always open"

Top
#237852 - 03/10/03 11:09 PM Re: [6.2] Banner Ad Rotator [Re: AgentDrek]
Kel Offline
Member

Registered: 01/30/02
Posts: 246
Loc: Arizona
I'm getting it too. Have done the hack twice. <br /> <br />[]Parse error: parse error, unexpected $ in my directory/ubbthreads/bannerad.php on line 92 <br />[/]Funny thing is... there is no $ on line 92. There is one on line 91 but it's a necessary one.


Edited by Sasha (03/10/03 11:12 PM)

Top
#237853 - 03/11/03 10:36 AM Re: [6.2] Banner Ad Rotator [Re: Razin]
Kel Offline
Member

Registered: 01/30/02
Posts: 246
Loc: Arizona
Any feedback on this yet?

Top
#237854 - 03/11/03 10:39 AM Re: [6.2] Banner Ad Rotator [Re: Razin]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Ah I missed this. <img src="/forum/images/graemlins/crazy.gif" alt="" /><br /><br />Maybe making a template for it will solve the issue.<br /><br />I'll look at this in a bit when I get time and see if that solves it. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#237855 - 03/11/03 10:46 AM Re: [6.2] Banner Ad Rotator [Re: Daine]
Kel Offline
Member

Registered: 01/30/02
Posts: 246
Loc: Arizona
Thank you, I appreciate it.. <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />I was all set to go with this... even had the first banner of "This space for rent" all made up. <img src="/forum/images/graemlins/crazy.gif" alt="" />

Top
#237856 - 03/18/03 06:42 PM Re: [6.2] Banner Ad Rotator [Re: Razin]
Kel Offline
Member

Registered: 01/30/02
Posts: 246
Loc: Arizona
Hate to be a PITA on this... but I really, really need this one... really! <br /> <br />Any chance of figuring out what that parse error means and how to fix it? Please? (if I could find a begging smilie, I'd insert it here)

Top
#237857 - 03/18/03 06:43 PM Re: [6.2] Banner Ad Rotator [Re: Razin]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Ah I'd forgotten. I"ll take a look in a bit. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#237858 - 03/18/03 06:44 PM Re: [6.2] Banner Ad Rotator [Re: Daine]
Kel Offline
Member

Registered: 01/30/02
Posts: 246
Loc: Arizona
Thanks much!!! <img src="/forum/images/graemlins/bow.gif" alt="" />

Top
#237859 - 03/18/03 06:52 PM Re: [6.2] Banner Ad Rotator [Re: Daine]
caspe7_dup1 Offline
Power User

Registered: 04/14/02
Posts: 75
Loc: Long Beach, CA, USA
thanks, I'm waiting for the fix too. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
"We're sorta like the 7-11. We're not always doin' business, but we're always open"

Top
#237860 - 03/18/03 06:53 PM Re: [6.2] Banner Ad Rotator [Re: Razin]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Sasha, caspe7... I'm kind of stumped on this...as the error is within the HTML. But I changed this to use a template instead. <br /><br />Try this and see if it works (attached to this post). Let me know. This has a template file to be put in /templates/default directory.


Attachments
73545-BannerAdRotator1.0test.zip (24 downloads)

_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#237861 - 03/18/03 06:59 PM Re: [6.2] Banner Ad Rotator [Re: Daine]
Kel Offline
Member

Registered: 01/30/02
Posts: 246
Loc: Arizona
I'm trying it. I'll report back in a few minutes.<br /><br />

Top
#237862 - 03/18/03 07:27 PM Re: [6.2] Banner Ad Rotator [Re: Razin]
Kel Offline
Member

Registered: 01/30/02
Posts: 246
Loc: Arizona
Now I have this error:<br /><br />[]Parse error: parse error, unexpected $ in my directory/ubbthreads/templates/default/banner.tmpl on line 17[/]<br />

Top
#237863 - 03/19/03 12:46 AM Re: [6.2] Banner Ad Rotator [Re: Razin]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
I'm stumped why this doesn't work for some people. I called in the calvary here.<br /><br />One last thing you could try. The couple of variables in the Template file... place them inside brackets, like this {$banner}<br /><br />Worth a shot. <img src="/forum/images/graemlins/tongue.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#237864 - 03/19/03 01:40 AM Re: [6.2] Banner Ad Rotator [Re: Daine]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Dave_L posted something for you to try in that other thread. Me testing does no good.... because it always worked for me. <br /><br />I posted in the PHP board because I figurd I'd done something wrong.... but If I did Dave_L didn't notice it. But maybe there is something offensive in the banner itself. <br /><br />Let us know. <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
Page 1 of 2 1 2 >



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks